<%--
  Created by IntelliJ IDEA.
  User: Vadim
  Date: 1/15/2015
  Time: 5:55 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %>
<%@ page isELIgnored="false" %>

<html>
<head>
  <title>Address Form</title>
  <link rel="stylesheet" href="../content/style/style.css">
  <script src="../content/scripts/jquery.min.js"></script>

</head>
<body>
<div id="container">
  <div id="header">
    <jsp:include page="/publicpages/common/header.jsp"/>
  </div>
  <div id="body">
    <hr/>
    <strong>${title}</strong>
    <hr/>
    ${Error}
    <form action="/securepages/address_creator.do" method="post">
        <table style="margin: 15px;">
          <tr>
            <td>
              Country:
            </td>
            <td>
              <input type="text" name="country" value="${param.country}">
            </td>
          </tr>
          <tr>
            <td>
              City:
            </td>
            <td>
              <input type="text" name="city" value="${param.city}">
            </td>
          </tr>
          <tr>
            <td>
              Street:
            </td>
            <td>
              <input type="text" name="street" value="${param.street}">
            </td>
          </tr>
          <tr>
            <td>
              Postal Code:
            </td>
            <td>
              <input type="text" name="postal" value="${param.postal}">
            </td>
          </tr>
          <tr>
            <td></td>
            <td style="padding: 15px;">
              <input type="submit" value="Create">
            </td>
          </tr>
        </table>
    </form>
  </div>
  <div id="footer">
    <jsp:include page="/publicpages/common/footer.jsp"/>
  </div>
</div>
</body>
</html>
